package com.cloudkinto.dao;

import com.cloudkinto.dto.platform.PlatformOrderProductRes;
import com.cloudkinto.entity.PlatformOrderDo;
import com.cloudkinto.entity.PlatformOrderProductDo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 * @author hua
 * @since 2024-12-25
 */
public interface PlatformOrderProductDao extends BaseMapper<PlatformOrderProductDo> {
    int insertPlatformOrderItems(List<PlatformOrderProductDo> list);
    List<PlatformOrderProductRes> getProducts(Long orderId);

    List<PlatformOrderProductDo> selectByOrderId(Long id);
}
